package CB_C19;

import javafx.scene.CustomNode;
import javafx.scene.Node;
import javafx.scene.Group;

/**Player
 * Created on 10.11.2009. <br>
 <br>
 Represents our Player, contains MediaView
 *<br>
 * @author Sebastian Czekierski, Stefan Blumberger
 *
 *
 

public var m_player: MediaPlayer = MediaPlayer
{
        autoPlay: false;
        repeatCount: MediaPlayer.REPEAT_FOREVER;
        onError: function(e:MediaError)
        {
            inform(e.toString());
        }
}*/
    
    
    

public class Player extends CustomNode
{



     override function create(): Node
     {
        return Group
        {
            content:
            [
                /*MediaView
                {
                    fitWidth : bind Main.stage_width;
                    onError: function(e:MediaError)
                    {
                        inform(e.toString());
                    }
                    mediaPlayer: bind m_player;
                }*/
            ]
        }
     }
}
